<h1> Relatório: <small>Lista de todos as pessoas existentes no sistema</small></h1>
<code>SELECT f.nome AS nome, f.login AS login, f.senha AS senha, 'funcionario' AS tipo
    FROM funcionario f
    UNION
    SELECT c.nome AS nome, c.login AS login, c.senha AS senha, 'cliente' AS tipo
    FROM cliente c
    ORDER BY tipo, nome</code><br/><br/>
<table class="table table-striped table-hover">
    <tr>
        <th>Nome Pessoa</th>
        <th>Login</th>
        <th>Senha</th>
        <th>Tipo</th>
    </tr>
    <?php foreach ($result as $ele) { ?>
        <tr>
            <td><?= $ele['nome'] ?></td>
            <td><?= $ele['login'] ?></td>
            <td><?= $ele['senha'] ?></td>
            <td><?= $ele['tipo'] ?></td>
        </tr>
    <?php } ?>
</table>
